package com.hxd.mall.injector.modules

import com.hxd.mall.injector.scope.ActivityScope
import com.hxd.mall.module.school.enter.ISchoolPresenter
import com.hxd.mall.module.school.enter.ISchoolView
import com.hxd.mall.module.school.enter.SchoolFragment
import com.hxd.mall.module.school.enter.SchoolPresenter
import dagger.Binds
import dagger.Module

/**
 * Created by qishuai on 2018/7/30.
 */
@Module
abstract class SchoolFragmentModule {

    @Binds
    internal abstract fun bindView(activity: SchoolFragment): ISchoolView

    @ActivityScope
    @Binds
    abstract fun provideSchoolPresenter(presenter: SchoolPresenter): ISchoolPresenter
}